/**
 * FileFind - ftp/shares indexing and search php engine
 * Module: agent-java
 * Description: Agent written in java language
 * Copyright (c) 2003-2010 Rage Steel, www.gt2.ru
 */
package ru.ffind.agent;

import java.io.File;
import ru.ffind.common.model.HostType;

/**
 * Interface for agent configuration.
 * 
 * @author Rage Steel
 */
public interface AgentConfig {

    /**
     * Get database driver classname.
     *
     * @return database driver classname
     */
    String getDbDriverClassname();

    /**
     * Get password for accessing database.
     *
     * @return password
     */
    String getDbPassword();

    /**
     * Get JDBC URL.
     *
     * @return JDBC URL
     */
    String getDbUrl();

    /**
     * Get username for accessing database.
     *
     * @return username
     */
    String getDbUsername();

    /**
     * Get file roots.
     *
     * @return roots
     */
    File[] getRoots();

    /**
     * Return HostType for current host.
     * 
     * @return
     */
    HostType getHostType();

    /**
     * Return owner for current host;
     * 
     * @return
     */
    String getHostOwner();

}
